var ff = echarts.init(document.getElementById("data"))

option = {
    title: {
        text: "无敌",
        textStyle: {
            frontSize:'20px'
        },

        left: '50%'
    },
      tooltip: {
          trigger: 'axis',
          axisPointer: {
              type: 'line',
              lineStyle: {

              }
          }
        },

    xAxis: {
        type: 'category',
        data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
    },
    yAxis: {
        type: 'value'
    },
    series: [
        {
            data: [150, 230, 224, 218, 135, 147, 260],
            type: 'line'
        }
    ]
};

ff.setOption(option)